<template>
  <div class="header">
    <router-link to="/">
      <div class="iconfont back-icon">&#xe624;</div>
    </router-link>
    城市选择
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~styles/varibles.styl'
.header
  position: relative
  overflow: hidden
  height: $headerHeight
  line-height: $headerHeight
  text-align: center
  color: #fff
  font-size: .34rem
  background: $bgColor
  .back-icon
    position: absolute
    top: 0
    left: .16rem
    right: 0
    bottom: 0
    text-align: left
    color: #fff
    font-size: .4rem
</style>
